package zsz;

public class Decorator extends Basic {

    protected Basic basic;

    public Decorator(Basic basic){
        this.basic = basic;
    }

    @Override
    public void setValue(String value) {
        basic.setValue(value);
    }

    @Override
    public String get() {
        return basic.get();
    }
}
